package org.example.practice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.commonapi.domain.PracticeImage;
import org.example.practice.service.PracticeImageService;
import org.example.commonapi.mapper.PracticeImageMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
* @author XieNoDesire
* @description 针对表【practice_image(题目图片表)】的数据库操作Service实现
* @createDate 2024-06-01 19:33:24
*/
@Service
public class PracticeImageServiceImpl extends ServiceImpl<PracticeImageMapper, PracticeImage>
    implements PracticeImageService{

    @Resource
    private PracticeImageMapper practiceImageMapper;

    /**
     * 查看图片列表
     * @param id
     * @return
     */
    @Override
    public List<String> imageList(Long id) {
        return practiceImageMapper.imageList(id);
    }




}




